package myBean;

/**
 * Created by Administrator on 2018/6/10.
 */
public class CircleBean {
    public double radius;
    public static double PI = 3.14;

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double getPerimeter(){
        double perimeter;
        perimeter = 2*PI*radius;
        return perimeter;
    }

    public double getAcreage(){
        double acreage;
        acreage = PI * radius * radius;
        return acreage;
    }
}
